#include "unit.h"

bool unit2(void)
{
    State state(2), stateOK(2);

    complexd h[] = {
        complexd(1/sqrt(2), 0), complexd( 1/sqrt(2), 0),
        complexd(1/sqrt(2), 0), complexd(-1/sqrt(2), 0)
    };
    Conversion H(2,2,h);


    complexd i1[] =  {
        complexd(1,0), complexd(0,0),
        complexd(0,0), complexd(0,0)
    };
    complexd OK11[] =  {
        complexd(1/sqrt(2), 0), complexd(0,0),
        complexd(1/sqrt(2), 0), complexd(0,0),
    };
    stateOK.intentionalFill(4,OK11);
    state.intentionalFill(4,i1);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "11" << endl;
        return false;
    }
    complexd OK12[] =  {
        complexd(1/sqrt(2), 0), complexd(1/sqrt(2), 0),
        complexd(0,0),          complexd(0,0)
    };
    stateOK.intentionalFill(4,OK12);
    state.intentionalFill(4,i1);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "12" << endl;
        return false;
    }


    complexd i2[] =  {
        complexd(0,0), complexd(1,0),
        complexd(0,0), complexd(0,0)
    };
    complexd OK21[] =  {
        complexd(0,0), complexd(1/sqrt(2), 0),
        complexd(0,0), complexd(1/sqrt(2), 0)
    };
    stateOK.intentionalFill(4,OK21);
    state.intentionalFill(4,i2);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "21" << endl;
        return false;
    }
    complexd OK22[] =  {
        complexd(1/sqrt(2), 0), complexd(-1/sqrt(2), 0),
        complexd(0,0),          complexd(0,0)
    };
    stateOK.intentionalFill(4,OK22);
    state.intentionalFill(4,i2);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "22" << endl;
        return false;
    }


    complexd i3[] =  {
        complexd(0,0), complexd(0,0),
        complexd(1,0), complexd(0,0)
    };
    complexd OK31[] =  {
        complexd( 1/sqrt(2), 0), complexd(0,0),
        complexd(-1/sqrt(2), 0), complexd(0,0)
    };
    stateOK.intentionalFill(4,OK31);
    state.intentionalFill(4,i3);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "31" << endl;
        return false;
    }
    complexd OK32[] =  {
        complexd(0,0),          complexd(0,0),
        complexd(1/sqrt(2), 0), complexd(1/sqrt(2), 0)
    };
    stateOK.intentionalFill(4,OK32);
    state.intentionalFill(4,i3);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "32" << endl;
        return false;
    }


    complexd i4[] =  {
        complexd(0,0), complexd(0,0),
        complexd(0,0), complexd(1,0)
    };
    complexd OK41[] =  {
        complexd(0,0), complexd(1/sqrt(2), 0),
        complexd(0,0), complexd(-1/sqrt(2), 0)
    };
    stateOK.intentionalFill(4,OK41);
    state.intentionalFill(4,i4);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "41" << endl;
        return false;
    }
    complexd OK42[] =  {
        complexd(0,0),          complexd(0,0),
        complexd(1/sqrt(2), 0), complexd(-1/sqrt(2), 0)
    };
    stateOK.intentionalFill(4,OK42);
    state.intentionalFill(4,i4);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "42" << endl;
        return false;
    }


    complexd i5[] =  {
        complexd(1,0), complexd(1,0),
        complexd(1,0), complexd(1,0)
    };
    complexd OK51[] =  {
        complexd(2/sqrt(2), 0), complexd(2/sqrt(2), 0),
        complexd(0,0),          complexd(0,0)
    };
    stateOK.intentionalFill(4,OK51);
    state.intentionalFill(4,i5);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "51" << endl;
        return false;
    }
    complexd OK52[] =  {
        complexd(2/sqrt(2), 0), complexd(0,0),
        complexd(2/sqrt(2), 0), complexd(0,0)
    };
    stateOK.intentionalFill(4,OK52);
    state.intentionalFill(4,i5);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "52" << endl;
        return false;
    }


    complexd i6[] =  {
        complexd(0,0), complexd(0,0),
        complexd(0,0), complexd(0,0),
    };
    complexd OK61[] =  {
        complexd(0,0), complexd(0,0),
        complexd(0,0), complexd(0,0),
    };
    stateOK.intentionalFill(4,OK61);
    state.intentionalFill(4,i6);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "61" << endl;
        return false;
    }
    complexd OK62[] =  {
        complexd(0,0), complexd(0,0),
        complexd(0,0), complexd(0,0),
    };
    stateOK.intentionalFill(4,OK62);
    state.intentionalFill(4,i6);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "62" << endl;
        return false;
    }


    complexd i7[] =  {
        complexd(1,0), complexd(-1,0),
        complexd(1,0), complexd(-1,0),
    };
    complexd OK71[] =  {
        complexd( 2/sqrt(2), 0), complexd(-2/sqrt(2), 0),
        complexd(0,0),         complexd(0,0)
    };
    stateOK.intentionalFill(4,OK71);
    state.intentionalFill(4,i7);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "71" << endl;
        return false;
    }
    complexd OK72[] =  {
        complexd( 0, 0), complexd( 2/sqrt(2), 0),
        complexd( 0, 0), complexd( 2/sqrt(2), 0)
    };
    stateOK.intentionalFill(4,OK72);
    state.intentionalFill(4,i7);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "72" << endl;
        return false;
    }


    complexd i8[] =  {
        complexd(-1,0), complexd(1,0),
        complexd(-1,0), complexd(1,0),
    };
    complexd OK81[] =  {
        complexd(-2/sqrt(2), 0), complexd( 2/sqrt(2), 0),
        complexd(0,0),           complexd(0,0)
    };
    stateOK.intentionalFill(4,OK81);
    state.intentionalFill(4,i8);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "81" << endl;
        return false;
    }
    complexd OK82[] =  {
        complexd( 0, 0), complexd(-2/sqrt(2), 0),
        complexd( 0, 0), complexd(-2/sqrt(2), 0)
    };
    stateOK.intentionalFill(4,OK82);
    state.intentionalFill(4,i8);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "82" << endl;
        return false;
    }


    complexd i9[] =  {
        complexd( 1,0), complexd( 1,0),
        complexd(-1,0), complexd(-1,0),
    };
    complexd OK91[] =  {
        complexd(0,0),           complexd(0,0),
        complexd( 2/sqrt(2), 0), complexd( 2/sqrt(2), 0)
    };
    stateOK.intentionalFill(4,OK91);
    state.intentionalFill(4,i9);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "91" << endl;
        return false;
    }
    complexd OK92[] =  {
        complexd( 2/sqrt(2), 0), complexd(0,0),
        complexd(-2/sqrt(2), 0), complexd(0,0)
    };
    stateOK.intentionalFill(4,OK92);
    state.intentionalFill(4,i9);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "92" << endl;
        return false;
    }


    complexd i10[] =  {
        complexd(-1,0), complexd(-1,0),
        complexd( 1,0), complexd( 1,0),
    };
    complexd OK101[] =  {
        complexd(0,0),           complexd(0,0),
        complexd(-2/sqrt(2), 0), complexd(-2/sqrt(2), 0)
    };
    stateOK.intentionalFill(4,OK101);
    state.intentionalFill(4,i10);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "101" << endl;
        return false;
    }
    complexd OK102[] =  {
        complexd(-2/sqrt(2), 0), complexd(0,0),
        complexd( 2/sqrt(2), 0), complexd(0,0)
    };
    stateOK.intentionalFill(4,OK102);
    state.intentionalFill(4,i10);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "102" << endl;
        return false;
    }

    return true;
}

bool unit3(void)
{
    State state(2), stateOK(2);

    complexd h[] = {
        complexd(1/sqrt(2), 0), complexd( 1/sqrt(2), 0),
        complexd(1/sqrt(2), 0), complexd(-1/sqrt(2), 0)
    };
    Conversion H(2,2,h);

    complexd i1[] =  {
        complexd(1,0), complexd(0,0), complexd(0,0), complexd(0,0),
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(0,0)
    };

    complexd i2[] =  {
        complexd(0,0), complexd(1,0), complexd(0,0), complexd(0,0),
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(0,0)
    };

    complexd i3[] =  {
        complexd(0,0), complexd(0,0), complexd(1,0), complexd(0,0),
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(0,0)
    };

    complexd i4[] =  {
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(1,0),
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(0,0)
    };

    complexd i5[] =  {
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(0,0),
        complexd(1,0), complexd(0,0), complexd(0,0), complexd(0,0)
    };

    complexd i6[] =  {
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(0,0),
        complexd(0,0), complexd(1,0), complexd(0,0), complexd(0,0)
    };

    complexd i7[] =  {
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(0,0),
        complexd(0,0), complexd(0,0), complexd(1,0), complexd(0,0)
    };

    complexd i8[] =  {
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(0,0),
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(1,0)
    };

    complexd i9[] =  {
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(0,0),
        complexd(0,0), complexd(0,0), complexd(0,0), complexd(0,0)
    };

    complexd i10[] =  {
        complexd(1,0), complexd(1,0), complexd(1,0), complexd(1,0),
        complexd(1,0), complexd(1,0), complexd(1,0), complexd(1,0)
    };

//==============================================================================
    complexd OK11[] =  {
        complexd( 1/sqrt(2),0), complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd( 1/sqrt(2),0), complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i1);
    stateOK.intentionalFill(8,OK11);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "3_1_1" << endl;
        return false;
    }

    complexd OK12[] =  {
        complexd( 1/sqrt(2),0), complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i1);
    stateOK.intentionalFill(8,OK12);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "3_1_2" << endl;
        return false;
    }

    complexd OK13[] =  {
        complexd( 1/sqrt(2),0), complexd( 1/sqrt(2),0), complexd(0,0),          complexd(0,0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i1);
    stateOK.intentionalFill(8,OK13);
    state.doConversion(H,3);
    if (state != stateOK) {
        cout << "3_1_3" << endl;
        return false;
    }

//==============================================================================
    complexd OK21[] =  {
        complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0),          complexd(0,0),
        complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i2);
    stateOK.intentionalFill(8,OK21);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "3_2_1" << endl;
        return false;
    }

    complexd OK22[] =  {
        complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0),          complexd( 1/sqrt(2),0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
    };
    state.intentionalFill(8,i2);
    stateOK.intentionalFill(8,OK22);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "3_2_2" << endl;
        return false;
    }


    complexd OK23[] =  {
        complexd( 1/sqrt(2),0), complexd(-1/sqrt(2),0), complexd(0,0),          complexd(0,0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i2);
    stateOK.intentionalFill(8,OK23);
    state.doConversion(H,3);
    if (state != stateOK) {
        cout << "3_2_3" << endl;
        return false;
    }
//==============================================================================

    complexd OK31[] =  {
        complexd(0,0),          complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0),
        complexd(0,0),          complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0)
    };
    state.intentionalFill(8,i3);
    stateOK.intentionalFill(8,OK31);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "3_3_1" << endl;
        return false;
    }

    complexd OK32[] =  {
        complexd( 1/sqrt(2),0), complexd(0,0),          complexd(-1/sqrt(2),0), complexd(0,0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i3);
    stateOK.intentionalFill(8,OK32);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "3_3_2" << endl;
        return false;
    }

    complexd OK33[] =  {
        complexd(0,0),          complexd(0,0),          complexd( 1/sqrt(2),0), complexd( 1/sqrt(2),0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
    };
    state.intentionalFill(8,i3);
    stateOK.intentionalFill(8,OK33);
    state.doConversion(H,3);
    if (state != stateOK) {
        cout << "3_3_3" << endl;
        return false;
    }
//==============================================================================

    complexd OK41[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd( 1/sqrt(2),0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd( 1/sqrt(2),0)
    };
    state.intentionalFill(8,i4);
    stateOK.intentionalFill(8,OK41);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "3_4_1" << endl;
        return false;
    }

    complexd OK42[] =  {
        complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0),          complexd(-1/sqrt(2),0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i4);
    stateOK.intentionalFill(8,OK42);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "3_4_2" << endl;
        return false;
    }

    complexd OK43[] =  {
        complexd(0,0),          complexd(0,0),          complexd( 1/sqrt(2),0), complexd(-1/sqrt(2),0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i4);
    stateOK.intentionalFill(8,OK43);
    state.doConversion(H,3);
    if (state != stateOK) {
        cout << "3_4_3" << endl;
        return false;
    }
//==============================================================================

    complexd OK51[] =  {
        complexd( 1/sqrt(2),0), complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd(-1/sqrt(2),0), complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i5);
    stateOK.intentionalFill(8,OK51);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "3_5_1" << endl;
        return false;
    }

    complexd OK52[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd( 1/sqrt(2),0), complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0)
    };
    state.intentionalFill(8,i5);
    stateOK.intentionalFill(8,OK52);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "3_5_2" << endl;
        return false;
    }

    complexd OK53[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd( 1/sqrt(2),0), complexd( 1/sqrt(2),0), complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i5);
    stateOK.intentionalFill(8,OK53);
    state.doConversion(H,3);
    if (state != stateOK) {
        cout << "3_5_3" << endl;
        return false;
    }
//==============================================================================

    complexd OK61[] =  {
        complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0),          complexd(0,0),
        complexd(0,0),          complexd(-1/sqrt(2),0), complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i6);
    stateOK.intentionalFill(8,OK61);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "3_6_1" << endl;
        return false;
    }

    complexd OK62[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0),          complexd( 1/sqrt(2),0)
    };
    state.intentionalFill(8,i6);
    stateOK.intentionalFill(8,OK62);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "3_6_2" << endl;
        return false;
    }

    complexd OK63[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd( 1/sqrt(2),0), complexd(-1/sqrt(2),0), complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i6);
    stateOK.intentionalFill(8,OK63);
    state.doConversion(H,3);
    if (state != stateOK) {
        cout << "3_6_3" << endl;
        return false;
    }
//==============================================================================

    complexd OK71[] =  {
        complexd(0,0),          complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0),
        complexd(0,0),          complexd(0,0),          complexd(-1/sqrt(2),0), complexd(0,0)
    };
    state.intentionalFill(8,i7);
    stateOK.intentionalFill(8,OK71);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "3_7_1" << endl;
        return false;
    }

    complexd OK72[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd( 1/sqrt(2),0), complexd(0,0),          complexd(-1/sqrt(2),0), complexd(0,0)
    };
    state.intentionalFill(8,i7);
    stateOK.intentionalFill(8,OK72);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "3_7_2" << endl;
        return false;
    }

    complexd OK73[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd(0,0),          complexd(0,0),          complexd( 1/sqrt(2),0), complexd( 1/sqrt(2),0)
    };
    state.intentionalFill(8,i7);
    stateOK.intentionalFill(8,OK73);
    state.doConversion(H,3);
    if (state != stateOK) {
        cout << "3_7_3" << endl;
        return false;
    }
//==============================================================================

    complexd OK81[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd( 1/sqrt(2),0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(-1/sqrt(2),0)
    };
    state.intentionalFill(8,i8);
    stateOK.intentionalFill(8,OK81);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "3_8_1" << endl;
        return false;
    }

    complexd OK82[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd(0,0),          complexd( 1/sqrt(2),0), complexd(0,0),          complexd(-1/sqrt(2),0)
    };
    state.intentionalFill(8,i8);
    stateOK.intentionalFill(8,OK82);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "3_8_2" << endl;
        return false;
    }

    complexd OK83[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd(0,0),          complexd(0,0),          complexd( 1/sqrt(2),0), complexd(-1/sqrt(2),0)
    };
    state.intentionalFill(8,i8);
    stateOK.intentionalFill(8,OK83);
    state.doConversion(H,3);
    if (state != stateOK) {
        cout << "3_8_3" << endl;
        return false;
    }
//==============================================================================

    complexd OK91[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i9);
    stateOK.intentionalFill(8,OK91);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "3_9_1" << endl;
        return false;
    }

    complexd OK92[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i9);
    stateOK.intentionalFill(8,OK92);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "3_9_2" << endl;
        return false;
    }

    complexd OK93[] =  {
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i9);
    stateOK.intentionalFill(8,OK93);
    state.doConversion(H,3);
    if (state != stateOK) {
        cout << "3_9_3" << endl;
        return false;
    }
//==============================================================================

    complexd OK101[] =  {
        complexd( 2/sqrt(2),0), complexd( 2/sqrt(2),0), complexd( 2/sqrt(2),0), complexd( 2/sqrt(2),0),
        complexd(0,0),          complexd(0,0),          complexd(0,0),          complexd(0,0)
    };
    state.intentionalFill(8,i10);
    stateOK.intentionalFill(8,OK101);
    state.doConversion(H,1);
    if (state != stateOK) {
        cout << "3_10_1" << endl;
        return false;
    }

    complexd OK102[] =  {
        complexd( 2/sqrt(2),0), complexd( 2/sqrt(2),0), complexd(0,0),          complexd(0,0),
        complexd( 2/sqrt(2),0), complexd( 2/sqrt(2),0), complexd(0,0),          complexd(0,0),
    };
    state.intentionalFill(8,i10);
    stateOK.intentionalFill(8,OK102);
    state.doConversion(H,2);
    if (state != stateOK) {
        cout << "3_10_2" << endl;
        return false;
    }

    complexd OK103[] =  {
        complexd( 2/sqrt(2),0), complexd(0,0),          complexd( 2/sqrt(2),0), complexd(0,0),
        complexd( 2/sqrt(2),0), complexd(0,0),          complexd( 2/sqrt(2),0), complexd(0,0),
    };
    state.intentionalFill(8,i10);
    stateOK.intentionalFill(8,OK103);
    state.doConversion(H,3);
    if (state != stateOK) {
        cout << "3_10_3" << endl;
        return false;
    }
//==============================================================================

    return true;
}

